package ${baseModelPackageName};

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;

/**
* Created by ${author} on ${ .now ?string('yyyy-MM-dd hh:mm:ss')}
*/
@SuppressWarnings("serial")
public abstract class Base${modelName}<M extends Base${modelName}<M>> extends Model<M> implements IBean {

    <#list columnMetas as column>
    public ${column.javaType} get${column.attrName?cap_first}(){
        return get("${column.name}");
    }

    public void set${column.attrName?cap_first}(${column.javaType} ${column.attrName}){
        set("${column.name}",${column.attrName});
    }
    </#list>
}
